package com.hljx.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author : gx
 * @since : 2023/5/5 14:24
 */
@Data
public class SysRoleDTO {
    @Schema(description = "角色主键")
    private Long id;

    @Schema(description = "角色名称")
    @NotBlank(message = "角色名称不能为空")
    private String roleName;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "启用状态 1:启用 0:禁用")
    private Integer status;
}
